package tote.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 */
@Entity
@Table(name = "tUser")
public class User implements Serializable {
    private static final long serialVersionUID = -1196713300640157363L;

    @Column(name = "username")
    private String username;

    @Column(name = "fullname")
    private String fullname;

    private int place;
    private int points;

    public void setUsername(String username) {
	this.username = username;
    }

    @Id
    public String getUsername() {
	return username;
    }

    public void setFullname(String fullname) {
	this.fullname = fullname;
    }

    public String getFullname() {
	return fullname;
    }

    @Transient
    public int getPlace() {
	return place;
    }

    public void setPlace(int place) {
	this.place = place;
    }

    @Transient
    public int getPoints() {
	return points;
    }

    public void setPoints(int points) {
	this.points = points;
    }

}
